<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	template="/template/main.xhtml">

	<ui:define name="body">
		<h:form id="form">
			<p:panelGrid columns="1" style="width: 98%; height: 99%">
				<f:facet name="header">Gráfico de curva ABC de produto</f:facet>
				<p:toolbar>
					<f:facet name="left">
						<p:commandLink value="Voltar"
							action="./filtro_curva_abc_produto.jsp"></p:commandLink>
					</f:facet>
				</p:toolbar>
				<p:chart type="line"
					model="#{curvaABCProdutoMB.graficoLineCurvaABC}"
					style="height:300px;" />
				<p:chart type="pie" model="#{curvaABCProdutoMB.graficoCurvaABC}"
					style="height:400px;" />
			</p:panelGrid>
		</h:form>
	</ui:define>
</ui:composition>